package com.njtoyo.taxi.admin.service.platform;

import com.njtoyo.taxi.admin.mapper.master.entity.DriverDeviceAutoVersion;
import com.njtoyo.taxi.admin.mapper.secondary.enums.VersionModel;
import com.njtoyo.taxi.admin.mapper.secondary.enums.VersionUserGroup;
import com.taxi.entity.common.RestResult;

/**
 * @author mdf
 * @title: CarAppVersionService
 * @description: TODO
 * @date 2024/12/19 14:20
 */
public interface CarAppVersionService {
    RestResult list(Integer current, Integer size, String title, VersionModel model, VersionUserGroup userGroup);

    RestResult getDeviceList(Long id);

    RestResult upgradeDevices(Long id, String deviceIds);

    RestResult getDeviceVendor();

    RestResult add(DriverDeviceAutoVersion version);

    RestResult getInfo(Long id);

    RestResult updateById(Long id, DriverDeviceAutoVersion version);

    RestResult clearDetail(Long id);
}
